package net.lahuobao.mall.entity.admin;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.SequenceGenerator;

/**   
 * @Title: Entity
 * @Description: 店铺
 * @author zhangdaihao
 * @date 2016-09-12 17:00:05
 * @version V1.0   
 *
 */
@Entity
@Table(name = "mall_shop", schema = "lahuobao")
@DynamicUpdate(true)
@DynamicInsert(true)
@SuppressWarnings("serial")
public class MallShopEntity implements java.io.Serializable {
	/**id*/
	private java.lang.Integer id;
	/**shopname*/
	private java.lang.String shopname;
	/**userid*/
	private java.lang.Integer userid;
	/**bussinessscope*/
	private java.lang.String bussinessscope;
	/**organizationcode*/
	private java.lang.String organizationcode;
	/**phonenumber*/
	private java.lang.String phonenumber;
	/**contactaddress*/
	private java.lang.String contactaddress;
	/**contactareacode*/
	private java.lang.String contactareacode;
	/**photourl*/
	private java.lang.String photourl;
	/**cautionmoney*/
	private BigDecimal cautionmoney;
	/**businesslicenseurl*/
	private java.lang.String businesslicenseurl;
	/**email*/
	private java.lang.String email;
	/**shopstatus*/
	private java.lang.Integer shopstatus;
	/**createtime*/
	private java.util.Date createtime;
	/**audituserid*/
	private java.lang.Integer audituserid;
	/**companyname*/
	private java.lang.String companyname;
	/**businesslicenseno*/
	private java.lang.String businesslicenseno;
	/**organizationcodeurl*/
	private java.lang.String organizationcodeurl;
	/**contactperson*/
	private java.lang.String contactperson;
	
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  id
	 */
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name ="ID",nullable=false,precision=10,scale=0)
	public java.lang.Integer getId(){
		return this.id;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  id
	 */
	public void setId(java.lang.Integer id){
		this.id = id;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  shopname
	 */
	@Column(name ="SHOPNAME",nullable=false,length=50)
	public java.lang.String getShopname(){
		return this.shopname;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  shopname
	 */
	public void setShopname(java.lang.String shopname){
		this.shopname = shopname;
	}
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  userid
	 */
	@Column(name ="USERID",nullable=false,precision=10,scale=0)
	public java.lang.Integer getUserid(){
		return this.userid;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  userid
	 */
	public void setUserid(java.lang.Integer userid){
		this.userid = userid;
	}
	/**
	 *方法: 取得java.lang.Object
	 *@return: java.lang.Object  bussinessscope
	 */
	@Column(name ="BUSSINESSSCOPE",nullable=false)
	public java.lang.String getBussinessscope(){
		return this.bussinessscope;
	}

	/**
	 *方法: 设置java.lang.Object
	 *@param: java.lang.Object  bussinessscope
	 */
	public void setBussinessscope(java.lang.String bussinessscope){
		this.bussinessscope = bussinessscope;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  organizationcode
	 */
	@Column(name ="ORGANIZATIONCODE",nullable=false,length=50)
	public java.lang.String getOrganizationcode(){
		return this.organizationcode;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  organizationcode
	 */
	public void setOrganizationcode(java.lang.String organizationcode){
		this.organizationcode = organizationcode;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  phonenumber
	 */
	@Column(name ="PHONENUMBER",nullable=false,length=20)
	public java.lang.String getPhonenumber(){
		return this.phonenumber;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  phonenumber
	 */
	public void setPhonenumber(java.lang.String phonenumber){
		this.phonenumber = phonenumber;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  contactaddress
	 */
	@Column(name ="CONTACTADDRESS",nullable=false,length=100)
	public java.lang.String getContactaddress(){
		return this.contactaddress;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  contactaddress
	 */
	public void setContactaddress(java.lang.String contactaddress){
		this.contactaddress = contactaddress;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  contactareacode
	 */
	@Column(name ="CONTACTAREACODE",nullable=false,length=10)
	public java.lang.String getContactareacode(){
		return this.contactareacode;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  contactareacode
	 */
	public void setContactareacode(java.lang.String contactareacode){
		this.contactareacode = contactareacode;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  photourl
	 */
	@Column(name ="PHOTOURL",nullable=false,length=200)
	public java.lang.String getPhotourl(){
		return this.photourl;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  photourl
	 */
	public void setPhotourl(java.lang.String photourl){
		this.photourl = photourl;
	}
	/**
	 *方法: 取得BigDecimal
	 *@return: BigDecimal  cautionmoney
	 */
	@Column(name ="CAUTIONMONEY",nullable=false,precision=18,scale=2)
	public BigDecimal getCautionmoney(){
		return this.cautionmoney;
	}

	/**
	 *方法: 设置BigDecimal
	 *@param: BigDecimal  cautionmoney
	 */
	public void setCautionmoney(BigDecimal cautionmoney){
		this.cautionmoney = cautionmoney;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  businesslicenseurl
	 */
	@Column(name ="BUSINESSLICENSEURL",nullable=false,length=200)
	public java.lang.String getBusinesslicenseurl(){
		return this.businesslicenseurl;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  businesslicenseurl
	 */
	public void setBusinesslicenseurl(java.lang.String businesslicenseurl){
		this.businesslicenseurl = businesslicenseurl;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  email
	 */
	@Column(name ="EMAIL",nullable=false,length=50)
	public java.lang.String getEmail(){
		return this.email;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  email
	 */
	public void setEmail(java.lang.String email){
		this.email = email;
	}
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  shopstatus
	 */
	@Column(name ="SHOPSTATUS",nullable=false,precision=10,scale=0)
	public java.lang.Integer getShopstatus(){
		return this.shopstatus;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  shopstatus
	 */
	public void setShopstatus(java.lang.Integer shopstatus){
		this.shopstatus = shopstatus;
	}
	/**
	 *方法: 取得java.util.Date
	 *@return: java.util.Date  createtime
	 */
	@Column(name ="CREATETIME",nullable=false)
	public java.util.Date getCreatetime(){
		return this.createtime;
	}

	/**
	 *方法: 设置java.util.Date
	 *@param: java.util.Date  createtime
	 */
	public void setCreatetime(java.util.Date createtime){
		this.createtime = createtime;
	}
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  audituserid
	 */
	@Column(name ="AUDITUSERID",nullable=true,precision=10,scale=0)
	public java.lang.Integer getAudituserid(){
		return this.audituserid;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  audituserid
	 */
	public void setAudituserid(java.lang.Integer audituserid){
		this.audituserid = audituserid;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  companyname
	 */
	@Column(name ="COMPANYNAME",nullable=true,length=200)
	public java.lang.String getCompanyname(){
		return this.companyname;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  companyname
	 */
	public void setCompanyname(java.lang.String companyname){
		this.companyname = companyname;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  businesslicenseno
	 */
	@Column(name ="BUSINESSLICENSENO",nullable=true,length=200)
	public java.lang.String getBusinesslicenseno(){
		return this.businesslicenseno;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  businesslicenseno
	 */
	public void setBusinesslicenseno(java.lang.String businesslicenseno){
		this.businesslicenseno = businesslicenseno;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  organizationcodeurl
	 */
	@Column(name ="ORGANIZATIONCODEURL",nullable=true,length=200)
	public java.lang.String getOrganizationcodeurl(){
		return this.organizationcodeurl;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  organizationcodeurl
	 */
	public void setOrganizationcodeurl(java.lang.String organizationcodeurl){
		this.organizationcodeurl = organizationcodeurl;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  contactperson
	 */
	@Column(name ="CONTACTPERSON",nullable=true,length=100)
	public java.lang.String getContactperson(){
		return this.contactperson;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  contactperson
	 */
	public void setContactperson(java.lang.String contactperson){
		this.contactperson = contactperson;
	}
}
